﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TbDataSync
{
    public class AddDeviceResult
    {
        /// <summary>
        /// 
        /// </summary>
        public Id id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long createdTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public AdditionalInfo additionalInfo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public TenantId tenantId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public CustomerId customerId { get; set; }
        /// <summary>
        /// 测试设备
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 标签1
        /// </summary>
        public string label { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DeviceProfileId deviceProfileId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DeviceData deviceData { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string firmwareId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string softwareId { get; set; }
    }


    public class SearchDeviceResult
    {
        /// <summary>
        /// 
        /// </summary>
        public List<AddDeviceResult> data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int totalPages { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int totalElements { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hasNext { get; set; }
    }
}
